<?php
if (!defined('ABSPATH')) {
	define('ABSPATH', dirname(dirname(__FILE__)) . '/');
}

require_once ABSPATH . 'dr-config.php';
require_once ABSPATH . DRINC . '/dr-base.php';
require_once ABSPATH . DRINC . '/dr-functions.php';

require_once ABSPATH . DRINC . '/dr-page-check-login.php';

if (dr_is_login_on()) {
	dr_set_logged_in_user(null);
}

$redirect = BASE_HOSTPATH;
header("Location:$redirect");